package com.hanamaki.operator;

public class Demo02 {


    public static void main(String[] args) {

        long a = 123112L;
        int b = 123;
        short c = 10;
        byte d = 8;   //  = 是  赋值运算符
        System.out.println(a + b + c + d);       // long
        System.out.println(b + c + d);       // int
        System.out.println(c + d);       // int
    }



}
